-
Home
-
MyRewards – Loyalty Points and Rewards for WooCommerce – Reward orders, referrals, product reviews and more
-
5.4.3
-
Code
-
Classes
- Coupon
Total Complexity |
105 |
Dependencies |
7 |
Dependents |
4 |
Total lines |
517 |
Lines of code |
380 |
Logical lines of code |
223 |
Comment lines |
37 |
Methods |
35 |
Properties |
5 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getForm() |
A |
43 |
8 |
41 |
submit() |
A |
45 |
8 |
41 |
getPriceTaxStatus() |
S |
54 |
7 |
20 |
getCouponDescription() |
S |
49 |
6 |
29 |
parseQuery() |
S |
60 |
7 |
12 |
seeUserCoupons() |
S |
52 |
6 |
22 |
createReward() |
S |
54 |
6 |
19 |
createShopCoupon() |
S |
51 |
5 |
27 |
buildCouponPostData() |
S |
56 |
3 |
16 |
getCost() |
S |
68 |
4 |
6 |
showQueryParsing() |
S |
67 |
4 |
6 |
uniqueCode() |
S |
58 |
3 |
13 |
getData() |
S |
62 |
3 |
10 |
setTimeout() |
S |
65 |
3 |
9 |
_save() |
S |
65 |
3 |
8 |
setCouponCategoryIds() |
S |
68 |
3 |
7 |
getReason() |
S |
65 |
3 |
9 |
getTimeout() |
S |
72 |
2 |
5 |
_fromPost() |
S |
65 |
2 |
8 |
isPurchasable() |
S |
70 |
2 |
6 |
getCustomExcerpt() |
S |
70 |
2 |
6 |
addUiFilters() |
S |
65 |
2 |
8 |
getInformation() |
S |
68 |
1 |
7 |
getValue() |
S |
82 |
1 |
3 |
setValue() |
S |
74 |
1 |
4 |
setTestValues() |
S |
71 |
1 |
5 |
getInPercent() |
S |
82 |
1 |
3 |
setInPercent() |
S |
77 |
1 |
4 |
getDisplayType() |
S |
79 |
1 |
3 |
getDescription() |
S |
81 |
1 |
3 |
getCouponCategoryIds() |
S |
82 |
1 |
3 |
isAutoApplicable() |
S |
82 |
1 |
3 |
addQueryVars() |
S |
77 |
1 |
4 |
getCategories() |
S |
68 |
1 |
7 |
grantExclCat() |
S |
82 |
1 |
3 |